#define CRT_SECURE_NO_WARNINGS 1


#include "Stack.h"

void test()
{
	ST s;
	StackInit(&s);
	StackPush(&s, 1);
	StackPush(&s, 2);
	StackPush(&s, 3);

	StackPush(&s, 4);
	StackPop(&s);
	StackPop(&s);
	printf("%d\n", StackTop(&s));

	printf("%d\n", StackSize(&s));
	StackDestory(&s);
}
int main()
{
	test();

	return 0;
}

